package com.cblue.qimokao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cblue.qimokao.entity.Film;
import org.apache.ibatis.annotations.Update;

public interface FilmMapper extends BaseMapper<Film> {
    @Update("update t_film set lastnum=lastnum-1 where id=#{id}")
    void sub(Integer id);
}
